﻿using DevExpress.XtraReports.UI;
using EyFramework.Library;
using System;

namespace Ncov2019
{
    public partial class FrmLabPackage : FrmDevBase
    {
        public FrmLabPackage()
        {
            InitializeComponent();
        }

        private void btnPackage_Click(object sender, EventArgs e)
        {
            LabPrintReport labPrintReport = new LabPrintReport();
            labPrintReport.PrintingSystem.ShowMarginsWarning = false;
            ReportPrintTool printTool = new ReportPrintTool(labPrintReport);
            printTool.ShowPreview();
        }
    }
}